package com.by.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@ApiModel("分类")
@Data
public class Category {
    int id;
    String name;
    int categoryCode;
    int parentId;

    String fields;

    @ApiModelProperty(hidden = true)
    List<Category> children;
}
